<?php
class ImageController extends AdminController{
    public function uploadAction(){
        Yaf_Dispatcher::getInstance()->disableView();
        $file = new Upload;
        $data = $file->upload();
        Response::work($data);
    }
    
}